<!--
 * @Author: your name
 * @Date: 2022-01-11 16:12:25
 * @LastEditTime: 2022-01-12 10:42:15
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \elastic-gantt\src\elastic\src\GanttElastic.standalone.vue
-->
<!--
/**
 * @fileoverview GanttElastic standalone version component
 * @license MIT
 * @author Rafal Pospiech <neuronet.io@gmail.com>
 * @package
 */
-->
<template>
    <gantt-elastic
        :tasks="tasks"
        :options="options"
        :dynamicStyle="dynamicStyle"
    >
        <component
            v-if="components.header"
            :is="components.header"
            slot="header"
        ></component>
        <component
            v-if="components.footer"
            :is="components.footer"
            slot="footer"
        ></component>
    </gantt-elastic>
</template>
<script>
import GanttElastic from "./GanttElastic.vue";
export default {
    name: "GanttElasticStandalone",
    components: {
        "gantt-elastic": GanttElastic
    },
    props: ["header", "footer"],
    data() {
        return {
            components: {},
            tasks: [],
            options: {},
            dynamicStyle: {}
        };
    }
};
</script>
